<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="css/indexapi.css">
    <script src="js/respond.js"></script>
    <script type="text/javascript" src="js/jquery.min.js"></script>
</head>
<body>
<div class="container">
    <div class="menua right">
        <a href="#" id="menulogin" ></a>
        <a href="#" id="menusubmit" >个人中心</a>
        <span>丨</span>
        <a href="#" >关注绿道</a>
        <a href="#" >常见问题</a>
        <a href="#" >联系我们</a>
    </div>
</div>
<div class="lin"></div>
<div class="container logobox">
    <a href="#"><img src="img/logo5.png" height="50" width="200" ></a>
    <a href="menu.html" style="margin-left: 50px">首页</a>
    <a href="#" >API</a>
    <!--<div class="searchbox right">
        <form action="#" method="post">
            <input type="text" style="border-radius: 20px;outline: none">
        </form>
    </div>-->
    <form class="navbar-form navbar-right collapse navbar-collapse test" style="" id="ws">
        <div class="input-group hidden-sm" >
            <input type="text" class="form-control " placeholder="" style="width: 300px;border-radius: 14px;width: 258px"/>
            <span class="glyphicon glyphicon-search form-control-feedback"></span>
        </div>
    </form>

</div>
<div class="container content">
    <div class="col-md-9 left">
        <img src="img/glry-01.png" alt="" style="border: 1px solid #e0e0e0" width="180" height="180"/>
        <div class="api-data" >
            <h2>
                <strong>管理人员信息</strong>
            </h2>
            <p>分为:查询上报工单、查询用户信息、查询部门用户数量、报警信息</p>
            <div class="doc">
                <p>
                    <b>数据ID:</b>
                </p>
                <p>
                    <b>接口状态:</b>
                </p>
            </div>
            <div class="doc">
                <p>
                    <b>连接应用数:</b>
                </p>
                <p>
                    <b>接入服务商:</b>
                </p>
            </div>
            <div class=" docPrice">
                <p>按实际订单计费</p>
            </div>
        </div>
        <a href="" class="u"></a>
        <div style="clear: both"></div>
        <div style="margin-top: 20px">
            <ul class="nav nav-tabs aw-nav-tabs active hidden-xs" id="pl">
                <li class="xx active" id="ap"><a href="">API</a></li>
                <li class="xx" id="cw"><a href="">错误码参照</a></li>
                <li class="xx"><a href="" >推荐</a></li>
                <li class="xx"><a href="">最新</a></li>
            </ul>
            <div style="display: block;" id="api">
                <ul style="margin-top: 20px" id="list">
                    <li id="gd"><a href="" id="f1" style="color: red">1.查询上报工单</a></li>
                    <li id="userInfo"><a href="" id="f2">2.查询用户信息</a></li>
                    <li id="userNum"><a href="" id="f3">3.查询部门用户数量</a></li>
                    <li id="police"><a href="" id="f4">4.报警信息</a></li>
                </ul>
                <div id="one" style="float: right;width: 600px;display: block">
                    <div class="das-list">
                        <strong>接口地址:</strong>
            <span>http://116.62.31.204:8080/public/queryWorkByPage.inc?date=xx&currPage=1
&pageSize=10</span>
                    </div>
                    <div class="das-list">
                        <strong>支持格式:</strong>
                        <span>json</span>
                    </div>
                    <div class="das-list">
                        <strong>请求方式:</strong>
                        <span>get</span>
                    </div>
                    <div class="das-list">
                        <strong>请求参数说明:</strong>
                        <table class="qqTable">
                            <tbody>
                            <tr style="background: #fbfbfb;">
                                <th width="20"></th>
                                <th width="100">名称</th>
                                <th width="80">类型</th>
                                <th width="60">必填</th>
                                <th>说明</th>
                            </tr>
                            <tr>
                                <td>&nbsp;</td>
                                <td class="url">date</td>
                                <td class="url">String</td>
                                <td class="url">否</td>
                                <td class="url">查询指定日期数据</td>
                            </tr>
                            <tr>
                                <td>&nbsp;</td>
                                <td class="url">currPage</td>
                                <td class="url">String</td>
                                <td class="url">否</td>
                                <td class="url">默认1页
                                    当currPage=0时，
                                    表示不分页，传总数</td>
                            </tr>
                            <tr>
                                <td>&nbsp;</td>
                                <td class="url">pageSize</td>
                                <td class="url">String</td>
                                <td class="url">否</td>
                                <td class="url">默认10条</td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="das-list">
                        <strong>返回参数说明:</strong>
                        <table class="qqTable">
                            <tbody>
                            <tr style="background: #fbfbfb;">
                                <th width="20"></th>
                                <th width="100">名称</th>
                                <th width="80">类型</th>
                                <th width="60">必填</th>
                                <th>说明</th>
                            </tr>
                            <tr>
                                <td>&nbsp;</td>
                                <td class="url">code</td>
                                <td class="url">JSON</td>
                                <td class="url">是</td>
                                <td class="url">返回码,300表示成功</td>
                            </tr>
                            <tr>
                                <td>&nbsp;</td>
                                <td class="url">message</td>
                                <td class="url">JSON</td>
                                <td class="url">是</td>
                                <td class="url">返回结果</td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="das-list">
                        <b>出参报文:</b>
                        <div class="prediv">
                <pre>
                  {
    "code": 100, //表示请求成功
    "count": 1,  //返回数据条数
    "data": [
        {
            "addTime": 1482056251000, //添加时间
            "eventFlowNum": "20161218001", //事件流水号
            "eventPic": "http://192.168.5.198:8080/uploadFiles/2016-12-18/727e7a22a075447ca7407682679f7890.jpg",
	//事件图片，多张图片中间以英文逗号隔开
            "eventStatus": "1", //事件状态
            "eventType": "1", //事件类型（1.物品丢失 2.走失….）
            "eventTypeValue": "dlp",//事件描述
            "id": 30,主键ID
            "lat": "30.458243",//纬度
            "lon": "114.427937",//经度
            "userId": "1e8149b33e774daa9a250f5a1a0ad23f",//提交人ID
            "userName": "zhangsan",//提交人姓名
            "userPhone": "15827082370"//提交人联系方式
        }
    ],
    "message": "请求成功"
}
                </pre>
                        </div>
                    </div>
                </div>
                <div id="two" style="float: right;width: 600px;display: none">
                    <div class="das-list">
                        <strong>接口地址:</strong>
            <span>http://116.62.31.204:8080/public/queryUserByPage.inc?currPage=xxx&pageSize=xxxx</span>
                    </div>
                    <div class="das-list">
                        <strong>支持格式:</strong>
                        <span>json</span>
                    </div>
                    <div class="das-list">
                        <strong>请求方式:</strong>
                        <span>get</span>
                    </div>
                    <div class="das-list">
                        <b>入参报文:</b>
                        <div class="prediv">
                <pre>
 {
   “currPage”:” 1”,  非必填 默认1页
     当currPage=0时，表示不分页，查询所有数据
   “pageSize”:” 10”, 非必填，默认10条


        }
    ],
    "message": "请求成功"
}
                </pre>
                        </div>
                    </div>

                    <div class="das-list">
                        <b>出参报文:</b>
                        <div class="prediv">
                <pre>
 {
    "code": 100,  //100表示请求成功
    "count": 1,	//表示返回条数
    "data": [
        {
            "deptId": "4028828258b557b00158b56b399f0002", //部门ID
            "errorCount": 0, //登录系统错误次数
            "errorTime": 1477803591000, //错误时间
            "id": "402881f73e1c4ba4013e1c4c08470001",//主键ID
            "lastLoginIp": "127.0.0.1", //最后登录Ip
            "lastLoginTime": 1481853811000, //最后登录时间
            "mobilePhoneNumber": "", //电话号码
            "registerTime": 1366274344000, //注册时间
            "registerUid": "0",
            "trueName": "超级管理员", //真实姓名
            "userDesc": "拥有系统最高权限!", //描述
            "userImg": "", //用户头像
            "userName": "admin", //用户名
            "userPassword": "H1AF2G39C90F59F00H5DHA574BA4EE3H",
            "userSex": 1,//性别
            "userStatus": 1//用户状态
		"latitude":"30.458245",//纬度 有值返回，无值不返回此字段
		longitude":"114.4279" //经度 有值返回，无值不返回此字段


        }
    ],
    "message": "请求成功"
}
                </pre>
                        </div>
                    </div>
                </div>
                <div id="three" style="float: right;width: 600px;display: none">
                    <div class="das-list">
                        <strong>接口地址:</strong>
                        <span>http://116.62.31.204:8080/public/queryUserGroupByDept.inc</span>
                    </div>
                    <div class="das-list">
                        <strong>支持格式:</strong>
                        <span>json</span>
                    </div>
                    <div class="das-list">
                        <strong>请求方式:</strong>
                        <span>get</span>
                    </div>
                    <div class="das-list">
                        <b>出参报文:</b>
                        <div class="prediv">
                <pre>
 {
    "code": 100,
    "data": [
        {
            "count": 25,  //部门人数
            "deptId": "402881f73e1c5181013e1c56da3c0002", //部门ID
            "deptName": "技术部" //部门名称
        },
        {
            "count": 3,
            "deptId": "402882825880bfb6015880f5d415000f",
            "deptName": "人力资源部"
        },
        {
            "count": 1,
            "deptId": "4028828258b557b00158b56b399f0002",
            "deptName": "技术1部"
        },
        {
            "count": 6,
            "deptId": "f4be9f4c58e38c870158e8100df10006",
            "deptName": "其他部门"
        }
    ],
    "message": "请求成功"
}
                </pre>
                        </div>
                    </div>
                </div>
                <div id="four" style="float: right;width: 600px;display: none">
                    <div class="das-list">
                        <strong>接口地址:</strong>
                        <span>http://116.62.31.204:8080/public/queryEventByPage.inc?currPage=xxx&pageSize=xxxx</span>
                    </div>
                    <div class="das-list">
                        <strong>支持格式:</strong>
                        <span>json</span>
                    </div>
                    <div class="das-list">
                        <strong>请求方式:</strong>
                        <span>get</span>
                    </div>
                    <div class="das-list">
                        <b>入参报文:</b>
                        <div class="prediv">
                <pre>
 {
		“currPage”:” 1”,  非必填 默认1页
当currPage=0时，表示不分页，查询所有数据
		“pageSize”:” 10”, 非必填，默认10条
}
                </pre>
                        </div>
                    </div>
                    <div class="das-list">
                        <b>出参报文:</b>
                        <div class="prediv">
                <pre>
 {
    "code": 100,  //100表示请求成功
    "count": 1,	//表示返回条数
    "data": [
        {
"accStaffId": //接警人ID,
            "accStaffName"://接警人姓名,
            "alarmAddress"://报警人地址,
            "alarmContent": //报警内容,
            "alarmPhone": //报警人联系方式,
            "assisterId": //协助人ID,
            "assisterName"://协助人的姓名,
            "duleStatus"://订单处理状态,
            "duleStatusValue"://处理状态（1.未处理2.处理中3.已处理）,
            "eventFlowNum"://订单流水号,
            "eventType"://事件类型,
            "eventTypeValue"://事件类型值（1.物品损坏 2.走失 3.游客纠纷 4.医疗救护 5.治安事件 6.物品丢失 7.走失服务）,
            "id": //主键id,
            "latitude"://（事件）纬度,
            "longitude": //（事件）经度,
            "modifyDate":// 接单时间,
            "occurDate":// 发生时间,
            "responserId": //责任人ID,
            "responserName": //责任人姓名,
            "sourceType"://事件来源,
            "sourceTypeValue": //事件来源值
        }
    ],
    "message": "请求成功"
}
                </pre>
                        </div>
                    </div>
                </div>
            </div>
            <div style="margin-top: 20px;display:none;padding-left: 20px;" id="cwm">
                <div class="das-list">
                    <b style="color: #555">服务级错误码参照</b>
                    <table class="qqTable">
                        <tbody>
                        <tr>
                            <th width="20">&nbsp;</th>
                            <th width="200">错误码</th>
                            <th>说明</th>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td class="url">210801</td>
                            <td>产品ID不存在/暂不支持购买</td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td class="url">210802</td>
                            <td>自定义单号格式错误（8-32位字母数字）</td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td class="url">210803</td>
                            <td>充值账号不能为空/格式不正确</td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td class="url">210804</td>
                            <td>校验值sign不合法</td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td class="url">210805</td>
                            <td>超出最大可购买份数限制</td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td class="url">210806</td>
                            <td>重复的订单号</td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td class="url">210807</td>
                            <td>创建订单失败</td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td class="url">210808</td>
                            <td>账户余额不足</td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td class="url">210809</td>
                            <td>商品暂无可用通道</td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td class="url">210810</td>
                            <td>充值失败，具体参考reason</td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td class="url">210811</td>
                            <td>错误的订单号/订单号不存在</td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td class="url">210812</td>
                            <td>订单无效/受理失败</td>
                        </tr>
                        </tbody>
                    </table>

                </div>
                <div class="das-list">
                    <b style="color: #555">系统级错误码参照：</b>
                    <table class="qqTable">
                        <tbody>
                        <tr>
                            <th width="20">&nbsp;</th>
                            <th width="200">错误码</th>
                            <th>说明</th>
                            <th>旧版本(resultcode)</th>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td class="url">10001</td>
                            <td>错误的请求KEY</td>
                            <td class="url">101</td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td class="url">10002</td>
                            <td>该KEY无请求权限</td>
                            <td class="url">102</td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td class="url">10003</td>
                            <td>KEY过期</td>
                            <td class="url">103</td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td class="url">10004</td>
                            <td>错误的OPENID</td>
                            <td class="url">104</td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td class="url">10005</td>
                            <td>应用未审核超时，请提交认证</td>
                            <td class="url">105</td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td class="url">10007</td>
                            <td>重复的订单号</td>
                            <td class="url">107</td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td class="url">10008</td>
                            <td>被禁止的IP</td>
                            <td class="url">108</td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td class="url">10009</td>
                            <td>被禁止的KEY</td>
                            <td class="url">109</td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td class="url">10011</td>
                            <td>当前IP请求超过限制</td>
                            <td class="url">111</td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td class="url">10012</td>
                            <td>请求超过次数限制</td>
                            <td class="url">112</td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td class="url">10013</td>
                            <td>测试KEY超过请求限制</td>
                            <td class="url">113</td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td class="url">10014</td>
                            <td>系统内部异常<span style="color: red">(调用充值类业务时，请务必联系客服或通过订单查询接口检测订单，避免造成损失)</span></td>
                            <td class="url">114</td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td class="url">10020</td>
                            <td>接口维护</td>
                            <td class="url">120</td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td class="url">10021</td>
                            <td>接口停用</td>
                            <td class="url">121</td>
                        </tr>
                        </tbody>
                    </table>

                </div>
                <div class="das-list">
                    <b>错误码格式说明(示例：200201):</b>
                    <table class="qqTable">
                        <tbody>
                        <tr>
                            <th width="20">&nbsp;</th>
                            <th width="200">2</th>
                            <th width="200">002</th>
                            <th>01</th>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td>服务级错误(1为系统级错误)</td>
                            <td>服务模块代码(即数据ID)</td>
                            <td>具体错误代码</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
    <div class="col-md-2 left" style="width: 200px">
        <h3>推荐接口
            <span>/API</span>
        </h3>
        <ul class="tuijianapi">
            <li>
                <a href="" class="tuijianimg"><img src="img/a87.png" alt="" style="width: 42px;"/></a>
                <p class="apiname"><a href="">加油卡充值</a></p>
                <p>加油卡充值</p>
            </li>
            <li>
                <a href="" class="tuijianimg"><img src="img/a87.png" alt="" style="width: 42px;"/></a>
                <p class="apiname"><a href="">加油卡充值</a></p>
                <p>加油卡充值</p>
            </li>
            <li>
                <a href="" class="tuijianimg"><img src="img/a87.png" alt="" style="width: 42px;"/></a>
                <p class="apiname"><a href="">加油卡充值</a></p>
                <p>加油卡充值</p>
            </li>
            <li>
                <a href="" class="tuijianimg"><img src="img/a87.png" alt="" style="width: 42px;"/></a>
                <p class="apiname"><a href="">加油卡充值</a></p>
                <p>加油卡充值</p>
            </li>
        </ul>
    </div>
</div>
<div class="container footend">

    <div class="mesbox">
        <div class="ftbox left">
            <h5>关于绿道</h5>
            <a href="#">API</a><br>
            <a href="#">新闻动态</a><br>
            <a href="#">合作伙伴</a>
        </div>
        <div class="ftbox left">
            <h5>绿道工具</h5>
            <a href="#">绿合子</a><br>
            <a href="#">基站定位</a><br>

        </div>
        <div class="ftbox left">
            <h5>关注我们</h5>
            <a href="#"><img src="img/1494313123.png" width="90" height="90"></a>

        </div>
        <div class="ftbox left">
            <h5>服务&支持</h5>
            <a href="#">常见问题</a><br>
            <a href="#">服务条款</a><br>
            <a href="#">隐私政策</a>
        </div>
        <div class="ftbox left">
            <h5>联系我们</h5>
            <a href="#">15871771563</a><br>
            <a href="#">www.wuhanqj.cn</a><br>
            <a href="#">投诉与建议</a>
        </div>
    </div>
    <div style="clear: both"></div>
    <div class="footsign" style="margin-left: 500px">
        武汉青杰科技有限公司©版权所有
    </div>
</div>
</body>
<script>
    var data = localStorage.getItem("name");
    document.getElementById("menulogin").innerHTML=data;
    document.getElementById("gd").onmouseover=function(){
        document.getElementById("two").style.display="none";
        document.getElementById("one").style.display="block"
        document.getElementById("three").style.display="none";
        document.getElementById("four").style.display="none";
        document.getElementById("f1").style.color="red";
        document.getElementById("f2").style.color="#428bca";
        document.getElementById("f3").style.color="#428bca";
        document.getElementById("f4").style.color="#428bca";
    }

    document.getElementById("userInfo").onmouseover=function(){
        document.getElementById("two").style.display="block";
        document.getElementById("one").style.display="none";
        document.getElementById("three").style.display="none";
        document.getElementById("four").style.display="none";
        document.getElementById("f1").style.color="#428bca";
        document.getElementById("f2").style.color="red";
        document.getElementById("f3").style.color="#428bca";
        document.getElementById("f4").style.color="#428bca";
    };
    document.getElementById("userNum").onmouseover=function(){
        document.getElementById("two").style.display="none";
        document.getElementById("one").style.display="none";
        document.getElementById("four").style.display="none";
        document.getElementById("three").style.display="block";
        document.getElementById("f1").style.color="#428bca";
        document.getElementById("f2").style.color="#428bca";
        document.getElementById("f3").style.color="red";
        document.getElementById("f4").style.color="#428bca";
    }
    document.getElementById("police").onmouseover=function(){
        document.getElementById("two").style.display="none";
        document.getElementById("one").style.display="none";
        document.getElementById("four").style.display="block";
        document.getElementById("three").style.display="none";
        document.getElementById("f1").style.color="#428bca";
        document.getElementById("f2").style.color="#428bca";
        document.getElementById("f3").style.color="#428bca";
        document.getElementById("f4").style.color="red";
    }
    $(function(){
        $("#ap").mouseover(function(){
            $(this).addClass("active").siblings().removeClass("active");
            $("#cwm").css("display","none");
            $("#api").css("display","block")
        })
        $("#cw").mouseover(function(){
            $(this).addClass("active").siblings().removeClass("active");
            $("#cwm").css("display","block");
            $("#api").css("display","none")

        })
    })
</script>

</html>